import {L_request } from './request.js'

export function getDetail(phpUrl,frontData,type="post"){//详情页请求
	return L_request({
		url:phpUrl,
		data:frontData,
		method:type,
		headers: {
			'Content-type': 'application/x-www-form-urlencoded', //如果post接收空数据就加入这一段
			'Access-Token': window.localStorage.getItem('front_token') || '',
		},
	})
}